
$(function() {

	$("a[id^='mold_']").click(function() {
		return false;
	});

});

var Quality = {
	popup: function (e, p2, id, produce) {
		$.cookie('id_', id);

		p2 = query(p2);
		$.cookie('p2', p2);

		var a1 = ['质检报告', 'url', 'Common.dialog_view_', '600x400', '质检报告'];
		var a2 = ['生产信息', 'url', 'Common.dialog_view_', '600x400', '生产信息'];

		var c1 = 'mold.php?do=Quality.view&id=' + id;
		var c2 = 'mold.php?do=Produce.view&id=' + produce;

		var s = c1 + ", " + c2;

		return popup(e, [a1, a2], s);
	}
};